Can you store class objects in an array